package com.vframework.jms;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.stereotype.Component;

@Component
public class JmsProducer {

    @Autowired
	private JmsTemplate template;

	public void send(IEopJmsMessage iJmsProcessor) {
		template.convertAndSend("riskqueue", iJmsProcessor);
	}
}
